package com.hk.A;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class ATestInMain {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(AConfig.class);
        System.out.println(context.getBean(Name.class));

    }


}
